﻿package mortal.game.view.active11
{
    import flash.events.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;

    public class Active11Icon extends ActionBaseIcon
    {
        private static var _instance:Active11Icon;

        public function Active11Icon(param1:String = null)
        {
            super(ResFileConst.Active11Btn);
            return;
        }// end function

        override protected function clickHandler(event:MouseEvent) : void
        {
            Active11Window.instance.show();
            return;
        }// end function

        public static function get instance() : Active11Icon
        {
            if (!_instance)
            {
                _instance = new Active11Icon;
            }
            return _instance;
        }// end function

        public static function hasInstance() : Boolean
        {
            return _instance != null;
        }// end function

    }
}
